﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yqd.Enm;

namespace Yqd.Models
{
    public class Yqd_Assign
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int AssignID { get; set; }

        [DisplayName("任务编号")]
        public long TaskID { get; set; }

        [DisplayName("事项编号（钉办督导编号、申请协调编号")]
        public int ItemID { get; set; }

        [DisplayName("事项类型（钉办督到、申请协调）")]
        public 事项类型 ItemType { get; set; }

        [DisplayName("交办事项")]
        [StringLength(500)]
        public string Item { get; set; }

        [DisplayName("牵头单位")]
        [StringLength(200)]
        public string LeadUnit { get; set; }

        [DisplayName("协同单位")]
        [StringLength(200)]
        public string CooperativeUnit { get; set; }

        [DisplayName("办理时限")]
        public DateTime AssignLimit { get; set; }

        [DisplayName("交办时间")]
        public DateTime Instime { get; set; }

        [DisplayName("交办者")]
        [StringLength(50)]
        public string EmployeeCode { get; set; }

        [DisplayName("交办单位")]
        [StringLength(50)]
        public string UnitCode { get; set; }

    }
}
